﻿<phone:PhoneApplicationPage 
    x:Class="girapong.screen"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot es la cuadrícula raíz donde se coloca todo el contenido de la página-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contiene el nombre de la aplicación y el título de la página-->
        <StackPanel x:Name="TitlePanel" Margin="12,17,0,28" Height="0"></StackPanel>

        <!--ContentPanel. Colocar aquí el contenido adicional-->
        <Grid x:Name="ContentPanel" Margin="12,12,0,0" Grid.RowSpan="2">
            <TextBlock Height="70" HorizontalAlignment="Center" Margin="213,109,156,577" Name="txtContadorPuntuacion" Text="0" VerticalAlignment="Center" FontFamily="Courier New" FontSize="72" TextWrapping="Wrap" Width="99" />
            <Image Height="23" Margin="377,19,68,0" Name="vida1" Stretch="Fill" VerticalAlignment="Top" Source="/girapong;component/corazon.png" />
            <Image Height="23" Margin="403,19,42,0" Name="vida2" Source="/girapong;component/corazon.png" Stretch="Fill" VerticalAlignment="Top" />
            <Image Height="23" HorizontalAlignment="Left" Margin="429,19,0,0" Name="vida3" Source="/girapong;component/corazon.png" Stretch="Fill" VerticalAlignment="Top" Width="23" />
            <TextBlock Height="51" HorizontalAlignment="Left" Margin="185,78,0,0" Name="textBlock1" Text="PUNTOS" VerticalAlignment="Top" FontSize="24" FontWeight="Bold" />
            <TextBlock FontSize="24" FontWeight="Bold" Height="51" HorizontalAlignment="Left" Margin="6,12,0,0" Name="textBlock2" Text="{Binding Path=MyLocalizedResx.strenght, Source={StaticResource LocalizedResx}}" VerticalAlignment="Top" />
            <TextBlock Height="30" HorizontalAlignment="Left" Margin="223,16,0,0" Name="txtFuerza" Text="" VerticalAlignment="Top" Width="97" />
            <Button Background="#FFCB1F1F" BorderBrush="{x:Null}" Content="{Binding Path=MyLocalizedResx.savescore, Source={StaticResource LocalizedResx}}" Height="104" HorizontalAlignment="Left" Margin="53,248,0,0" Name="btnGuardarPuntuacion" VerticalAlignment="Top" Width="352" Click="btnGuardarPuntuacion_Click" />
            <Button Background="#FF1850CE" BorderBrush="{x:Null}" Content="{Binding Path=MyLocalizedResx.comeback, Source={StaticResource LocalizedResx}}" Height="99" HorizontalAlignment="Left" Margin="53,358,0,0" Name="btnVolver" VerticalAlignment="Top" Width="352" Click="btnVolver_Click" />
        </Grid>
    </Grid>
 
    <!--Código de ejemplo que muestra el uso de ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Botón 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Botón 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="Elemento de menú 1"/>
                <shell:ApplicationBarMenuItem Text="Elemento de menú 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
